﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class cap : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
    protected void cmdCapcha_Click(object sender, EventArgs e)
    {

        ccJoin.ValidateCaptcha(txtCaptha.Text.Trim());

        if (ccJoin.UserValidated)
        {
            // Create user account.
            lblAccount.Text = "OK";
        }
        else if (!ccJoin.UserValidated)
        {
            lblAccount.Text = "Text cannot be verified.Enter Text Again";
        }

    }
}
